.class Lcom/estrongs/android/taskmanager/gi;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/estrongs/android/taskmanager/gh;

.field private final synthetic b:I


# direct methods
.method constructor <init>(Lcom/estrongs/android/taskmanager/gh;I)V
    .locals 0

    iput-object p1, p0, Lcom/estrongs/android/taskmanager/gi;->a:Lcom/estrongs/android/taskmanager/gh;

    iput p2, p0, Lcom/estrongs/android/taskmanager/gi;->b:I

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/taskmanager/gi;)Lcom/estrongs/android/taskmanager/gh;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/gi;->a:Lcom/estrongs/android/taskmanager/gh;

    return-object v0
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/gi;->a:Lcom/estrongs/android/taskmanager/gh;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/gh;->a(Lcom/estrongs/android/taskmanager/gh;)Lcom/estrongs/android/taskmanager/gg;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/gg;->a(Lcom/estrongs/android/taskmanager/gg;)Lcom/estrongs/android/taskmanager/fx;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/fx;->a(Lcom/estrongs/android/taskmanager/fx;)Ljava/util/List;

    move-result-object v0

    iget v1, p0, Lcom/estrongs/android/taskmanager/gi;->b:I

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/taskmanager/fv;

    iget-boolean v1, v0, Lcom/estrongs/android/taskmanager/fv;->d:Z

    if-eqz v1, :cond_0

    new-instance v1, Landroid/app/AlertDialog$Builder;

    iget-object v2, p0, Lcom/estrongs/android/taskmanager/gi;->a:Lcom/estrongs/android/taskmanager/gh;

    invoke-static {v2}, Lcom/estrongs/android/taskmanager/gh;->a(Lcom/estrongs/android/taskmanager/gh;)Lcom/estrongs/android/taskmanager/gg;

    move-result-object v2

    invoke-static {v2}, Lcom/estrongs/android/taskmanager/gg;->a(Lcom/estrongs/android/taskmanager/gg;)Lcom/estrongs/android/taskmanager/fx;

    move-result-object v2

    iget-object v2, v2, Lcom/estrongs/android/taskmanager/fx;->mActivity:Landroid/app/Activity;

    invoke-direct {v1, v2}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    const v2, 0x7f07006c

    invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setTitle(I)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    const v2, 0x7f07006d

    invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setMessage(I)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    const v2, 0x1080027

    invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setIcon(I)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    const v2, 0x104000a

    new-instance v3, Lcom/estrongs/android/taskmanager/gj;

    invoke-direct {v3, p0, v0}, Lcom/estrongs/android/taskmanager/gj;-><init>(Lcom/estrongs/android/taskmanager/gi;Lcom/estrongs/android/taskmanager/fv;)V

    invoke-virtual {v1, v2, v3}, Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const/high16 v1, 0x104

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/AlertDialog;->show()V

    :goto_0
    return-void

    :cond_0
    iget-object v1, p0, Lcom/estrongs/android/taskmanager/gi;->a:Lcom/estrongs/android/taskmanager/gh;

    invoke-static {v1}, Lcom/estrongs/android/taskmanager/gh;->a(Lcom/estrongs/android/taskmanager/gh;)Lcom/estrongs/android/taskmanager/gg;

    move-result-object v1

    invoke-static {v1}, Lcom/estrongs/android/taskmanager/gg;->a(Lcom/estrongs/android/taskmanager/gg;)Lcom/estrongs/android/taskmanager/fx;

    move-result-object v1

    const/4 v2, 0x0

    invoke-static {v1, v0, v2}, Lcom/estrongs/android/taskmanager/fx;->a(Lcom/estrongs/android/taskmanager/fx;Lcom/estrongs/android/taskmanager/fv;Z)V

    goto :goto_0
.end method
